Skip to content

Run on lambda #93

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Nov 6, 2018
Merged

Run on lambda #93

merged 2 commits into from
Nov 6, 2018

Conversation

tomwhite
Copy link
Contributor

@tomwhite tomwhite commented Nov 6, 2018

This is an addition to #83, which I needed to run on AWS lambda.

@alimanfoo
Copy link
Member

Apologies @tomwhite, you did mention this, I forgot. Thanks for submitting.

@alimanfoo alimanfoo merged commit d23853b into zarr-developers:master Nov 6, 2018
@alimanfoo alimanfoo added this to the 0.6.0 milestone Nov 6, 2018
@tomwhite
Copy link
Contributor Author

tomwhite commented Nov 6, 2018

Thanks @alimanfoo.

@alimanfoo alimanfoo mentioned this pull request Nov 6, 2018
8 tasks
try:
ncores = multiprocessing.cpu_count()
except OSError:
ncores = 1
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Adding for reference: We need a # pragma: no cover for this block below since we don't have a way to test it really. PR ( #96 ) addresses that.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, didn't know about that. Thanks for reporting and fixing it @jakirkham!

@tomwhite tomwhite deleted the lambda-init branch November 7, 2018 09:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants